package com.LeeG.work.Sort;

/**
 * @author LeeG
 * @Description: 排序名称对应的类
 * @date 2021/1/18 15:04
 */
public enum SortNameEnum {
    BubbleSort01("BubbleSort01", "冒泡排序(基础版)"),
    BubbleSort02("BubbleSort02", "冒泡排序(优化一)"),
    BubbleSort03("BubbleSort03", "冒泡排序(优化二)"),
    SelectionSort("SelectionSort", "选择排序"),
    HeapSort("HeapSort", "堆排序"),
    InsertSort("InsertSort", "插入排序"),
    InsertSortNoSwap("InsertSortNoSwap", "插入排序(不交换)"),
    InsertSortBinarySearch("InsertSortBinarySearch", "插入排序(二分)"),
    MergeSort("MergeSort", "归并排序"),
    QuickSortFillPit("QuickSortFillPit", "快速排序(填坑)"),
    QuickSortDoublePointer("QuickSortDoublePointer", "快速排序(双指针)"),
    ShellSort("ShellSort", "希尔排序"),
    CountingSort("CountingSort", "计数排序")
    ;

    private String className;
    private String chainName;

    SortNameEnum(String className, String chainName) {
        this.className = className;
        this.chainName = chainName;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getChainName() {
        return chainName;
    }

    public void setChainName(String chainName) {
        this.chainName = chainName;
    }
}
